This will make curl fail on pypi errors, and should prevent corrupt images from pypi going offline for a few hours randomly, which it does from time to time. Closes-Bug: #1503909 Change-Id: Ib4a740b7d1772e1e36aa701e42d3ac0f0ee12883