Check if cdn config exists before attempting to use it