Fix a stacktrace on missing libvirt
Fix stacktrace from missing vms