[libvirt] [libvirt-test-api][PATCH 3/3] fix the logic in getDomainCapabilities