It looks like you're forgetting to reload `Package` and `PackageGroup`.