fix return status of nvm_version and nvm_remote_version

Closes #10.