Use consistent keys for repository cache lookups
Merged #117 "Duplicate repositories on dashboards"