fix to return proper 404 errors when files are not found in the package.