use nvm_strip_path utility method for path stripping