Correct url building for branch query. Fixes drone/drone#265
Merge pull request #275 from macb/bugfix/github_slack_urls

Correct url building for branch query.