Resolve path before determine if it's a root.