Properly treat root path in the root.tpl