github.py: Fix import of URLError for python 2

URLError lives in another lib in python 2.
Problem found and fixed by Bruno Morais