Generalize exception type handled by PackageResourceLoader