Fix broken compare links for stash repository builds.
Merge pull request #116 from square/shenil/public_fix_showlinktocompare

Fix broken compare links for stash repository builds.