[libvirt] [PATCH] util: Avoid libvirtd crash