[libvirt] [PATCH 3/7] qemu: Remove possibility of NULL dereference