[libvirt] [PATCH] qemu: Avoid dereference of NULL pointer