Fixed some insufficiently specific regular expressions so that the
gitlab_url is no longer mangled.