Check that the vm variable exists