fix pylint problems in rewritten FreeBSD package mgmt modules