Change GitProjectData.getRepositoryMapping to work on linked resources