Made get_vms_props() smarter when finding folders

Added additional logic to get_vms_props() so that when retrieving
folders by name, if there are mutiple folders with the same name,
disregard folders that do not contain VMs (Networking folders, for
example).