virttest.utils_misc: Inspekt fixes

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
Merge pull request #1468 from autotest/inspekt-fixes-3

virttest.utils_misc: Inspekt fixes