src/modulemgr: Simplified ModuleMgrRebootBefore(()