MDL-56050 core: set missing context to maintenance mode