[install script] Refactors NVM_SOURCE

Deduplication of the code that was defining the source to install NVM from.
Any reason not to consolidate this with the line above it?