Fix for repositories with duplicate names/identifiers.