[libvirt] [PATCH] Test for object identity when checking for None in Python