Bug causing curl to always be used

I needed to use wget but this bug was preventing me from always using wget.