Fix broken compare links for stash repository builds.