Use our own (Haskell) pwd to find the tree root