Errata: update v2 controller to allow request by repo

This commit contains a small change to support requesting
errata by repo.

It also includes a small fix for a typo of repo_ids vs repoid.
Merge pull request #3713 from bbuckingham/cv-rework-errata

Errata: update v2 controller to allow request by repo