Remove autochdir logic.