Disappear when branch name contain "/" two or more

# How to reproduce
```zsh
$ git checkout -b a/b/c
```

This pull request fix this issue