fix(environment): Better check for proper CDN file