Check that main admin application is running prior to moving forward
Fix the logic behind requires_restart flag as otherwise it relied on un-obvious implicit behaviour