[Fix RM 8224] - undefined method `include?' for nil:NilClass

Bug due to registry_enumkeys returning nil.

See:
http://dev.metasploit.com/redmine/issues/8224