fix pylint warnings for travis job

it popped out in https://travis-ci.org/Katello/katello/jobs/5223449
Merge pull request #1692 from pitr-ch/quick-fix/pylint

fix pylint warnings for travis job