Extend query for pip download timeout bug 1270710

For python2.6, the download error message occurs on line 495.
For python2.7, the download error message occurs on line 433.

Change-Id: I08224e2b87e23f1c5af05928cc0e32b602b7a09d
Related-Bug: #1270710