Fixed bug with vms with spaces in their names