Fix bug in urllib3 version comparison

If urllib_ver is 'dev', `StrictVersion()` will throw an exception. The check should ensure that it is not dev.