tp-libvirt: Inspekt fixes

A bunch of PEP8 non compliances and small errors that
were caught by inspekt.

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>