I sent a pull request to fix utils_libvirtd. https://github.com/autotest/virt-test/pull/622
Then you can catch an ImportError, no need an Exception any more.

Thanx.