Make Internet connection check a little faster
Make Internet connection check a little faster

Testing whether Internet connect is available only cares about if the
remote server is able to response something, but not the concrete
content returned. So, when remote server responses 301, it's enough, no
need to wait for a 200 response with the real content from redirected
URL.

Signed-off-by: Chenxiong Qi <7a7314576eb0408cef5766c0268b5ff02ad3cfb6@redhat.com>

fr34k8/atomic-reactor,DBuildService/atomic-reactor,DBuildService/atomic-reactor,projectatomic/atomic-reactor,projectatomic/atomic-reactor,fr34k8/atomic-reactor