Resolve issue where ARGV not assigned correctly if specifying a branch.
Merge pull request #1 from marwine/argv_bug

Resolve issue where ARGV not assigned correctly if specifying a branch.