[libvirt] [PATCH v3 3/4] util: Fix for NULL dereference