fixes #2710 - removed a superfluous os name check that was tripping up Safemode.