Fix issue when developers are able to push to protected branch

When that branch contain a '/' in the branch name.
Fix for git over ssh
Merge branch 'master' of github.com:gitlabhq/gitlab-shell
GitLab shell up to 1.7.1