Update ls-remote command to new API