Correct root dir identification