[Libvir] [PATCH] null pointer fix on debug build