check for nvm dir