Fix nvm copy-packages

Hopefully fixes #490.