Fix crash when numpy.distutils.__config__ is present but set to None