Fix WMCore pycurl usage.