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