handle unbound variable in nvm.sh