Fix condition for using urllib2 workaround

See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=762825