Better check for pypi mirror host connectivity

Now that we have switched to region specific mirrors, we
should look at the pip.conf for the host url/ip and try
the ping/http check on that specific mirror

Change-Id: I28e5988bc7b957f575323778589a974cb51dc7fd
Merge "Better check for pypi mirror host connectivity"