Don't prepend extra colon to category/file links

Check whether we already have a colon at the beginning first

Bug: 50279
Change-Id: I9e524793eb288f728c5b885f7236abcd5b324c7d
Merge "Don't prepend extra colon to category/file links"