adding support for non-defined virtual machines, spit out warning if VM is not defined