[TASK] Fixed typo for templateRootPathLength variable name