Fixed bug in get_vms_props()

Fixed a bug in get_vms_props() subroutine that broke filtering by a
single VM name.