Client/Tools/APT: fix exception name
Client/Tools/APT: fix pylint errors, enable check

Previously pep8/pylint checks were disable for the APT tool because
there were to many errors. This fix the pylint errors and enables the
code style checks.