Fix for Rspec failure in Msf::Util::EXE

[FixRM #8723]