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

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