Use Metasploit::Model::Module::Type

[#50752269]