Fix "git checkout -b foo ':/substring'"