change cli.root_dir to return the "real root"