Avoid errors on repositories with no packs
Improve non-pack handling
Merge remote-tracking branch 'aredridel/fix-packs'