Unbreak direct_cd.