[libvirt] [PATCH] Fix segfault if storage pool has no type attribute (possibly others)