nvm install script fails if CURL is installed with snap

Curl installed via snap has a bug that prevents the NVM software from being installed correctly.

If you have curl installed using snap, please remove it by running:

sudo snap remove curl

If you need curl on your system, please install it via apt with

sudo apt install curl