Add mindoc path computation using MIND_ROOT env variable

This should fix the nightly build

sorry if thought i had created the pull request on friday...