[libvirt] [PATCH v2] qemu: snapshot: remove the redundant 'if' check