[libvirt] [PATCH python] Avoid comparing boolean and integers