[libvirt] [PATCH 4/4] tests: Fix detection of expected error