[libvirt] [libvirt-glib 2/3] Handle failure of virDomainIsPersistent() correctly