[libvirt] [PATCH 1/3] snapshot: fix logic bug in qemu undefine