Add excluded extensions to assets_hash to avoid runtime errors.