Add the koji_name field in the Collection table as it was present in the pkgdb1 table
Import the koji_name from pkgdb1 into pkgdb2
Import the koji_branch information from pkgdb1 into the Collection table
Make the unit-tests pep8 valid