Only set default branch if one is not set already.

I believe this addresses #85.
Merge pull request #88 from freerange/honour-branch-variable-set-in-command-line

Only set default branch if one is not set already.