Earlier convention:
upgpkg(<repo>/<package>): update to <ver>
Newer convention:
upgpkg(<repo>/<package>): <ver>
Similarly same for dwnpkg.
Thanks to @truboxl for the suggestion
x11-repo uses distribution x11, and root-repo distribution root.
Store this information in the json file as well, and parse it to set
both REPOSITORY_NAME and REPOSITORY_DISTRIBUTION.
Also remove unnecessary `< repo.json` from jq command, jq accepts the
file as an argument.
This fixes upload issues to x11-repo and root-repo.