Fix repo check in PkgDB
Better output during spec generating