[Git][ghc/ghc][master] Improve error handling in 'getPackageArchives'