[DO NOT REVIEW] Fixes #7307 - Refactor errata/package/package group APIs