Fix vm name check in virt runner