fixes #2701 - require correct minitest file

(cherry picked from commit f604723465b0effc63ee8d1b8b5622f01508ec16)
fixes #2317 - VM's with the name foreman_########
fixes #2710 - removed a superfluous os name check that was tripping up safemode.