rev-parse: fix --parse-opt --keep-dashdash --stop-at-non-option