Don't crash when cloning a repo with spaces in the branch name