Don't checkout a git branch if not given

"master" is not always the default branch. Just leave it as the default one
that it is cloned from.

Fixes conda/conda#738