Fixing the cache logic for when searchPathEnvVar is passed as None. In that case it was not taking advantage of the cached class.
Fixing the cache logic for when searchPathEnvVar is passed as None. In that case it was not taking advantage of the cached class.

tectronics/cortex-vfx,tectronics/cortex-vfx,tectronics/cortex-vfx,AlanZatarain/cortex-vfx,Alwnikrotikz/cortex-vfx,AlanZatarain/cortex-vfx,Alwnikrotikz/cortex-vfx,AlanZatarain/cortex-vfx,Alwnikrotikz/cortex-vfx