Update query_metadata.rb

changed from vm-type to vm_type