Allow empty Mdm::Module::Class scope enumeration

MSP-9228

Metasploit::Framework::Module::Instance::Enumerator needs to be valid
when the scope passed as #cache_module_classes is empty so that the
enumerator still works when nothing is compatible with a given record
that is constraining the scope.