Abort if earlygetopt fails to detect an option.
Otherwise it could happen that a command is used on the wrong repository,
because abbreviations of --cwd or --repository were ignored.
marked working directory as branch abranchapplying patch from stdinapplying patch from stdinapplying patch from stdinapplying patch from stdin