Fixed issue #3011: clone: --bare and --origin options are incompatible

Merged username-removed-94717 requested to merge YueLinHo/tortoisegit:i3011 into master