fix curl bug on deciding cdn usage