[TASK] Adjust layoutRootPath fetching with preference to new method