Do a vm to node mapping only if vm_node_map variable is defined.