ls-remote: fix rsync:// to report HEAD