Fix nil.template error when listing vSphere VMs