Fix WMCore pycurl usage.
Merge pull request #4302 from dmwm/FixPyculrUsage

Fix WMCore pycurl usage.