Removes redundant project references from repositories.config.