Fix utils libvirtd2

Fix an issue found by pylint and a couple of PEP8 fixes.