[Fix] `bash_completion`: be robust when `cd` is overridden
[Fix] `bash_completion`: be robust when `cd` is overridden

ljharb/nvm,ljharb/nvm,creationix/nvm,creationix/nvm,PeterDaveHello/nvm,PeterDaveHello/nvm