Fix MIND_ROOT computation when not set (in release 'ext' folder case).