Compatibility with git-flow branch naming convention.

Allow branches with slashes, such as implemented by git-flow (e.g. release/v1.2.3).