ls-remote: use parse-options api