Fix interaction between chpwd/_smartcd for `reenter`

Fixes https://github.com/cxreg/smartcd/issues/28