Remove duplicated exception class, it's in pkgdb2.lib.exceptions now
Fix indentation
Remove un-used variable -- thanks pylint
Fix code style issue