[Git][ghc/ghc][wip/T24464] 28 commits: Improve error handling in 'getPackageArchives'