Changed how we set the branchnames for the CC link

Removed the url stripping because when you click the create branch link
from the repo overview (when you justed pushed a new commit in a branch)
the 'base' branch is missing in the url.