Pass the registry_id back to the api for loading tags.
[delivers #80462910]
Increasing coverage for template_repo_controller