Fixes #7307 - Refactor errata/package/package group APIs