Fixed a couple of minor issues in the handling of "patch" and "branch" options

BUG=None
TEST=Verified the options work as expected

Change-Id: Ib3e41c6499d5102d8f44c16bafb1b1eafc8184f1
Reviewed-on: https://gerrit-int.chromium.org/34996
Reviewed-by: Yunlian Jiang <yunlian@google.com>
Commit-Queue: Luis Lozano <llozano@chromium.org>
Tested-by: Luis Lozano <llozano@chromium.org>
1 file changed