Fix issue when developers are able to push to protected branch

When that branch contain a '/' in the branch name.
Fix for git over HTTP