[DF-5257] Moved GetProjectPathFromPath() to CommandLineTool