Remove working directory from tree.