[libvirt] [PATCH] qemu: Alter condition to avoid possible NULL deref