[libvirt] [libvirt-python PATCH 12/23] Return NULL and set an exception if allocation fails