Replace getRootAlias with getRootAliases

getRootAlias is deprecated
Merge pull request #2624 from roukmoute/patch-2

Replace getRootAlias with getRootAliases