`nvm_strip_path`: Error out when `$NVM_DIR` is not set.

Per https://github.com/creationix/nvm/issues/1083#issuecomment-217752185
1 file changed