Use cd_to_toplevel in scripts that implement it by hand.