More pylint fixes on pkgdb2.lib.utils