Bug fix for $curlEnvironmentOptions