Make `nvm copy-packages system` work

Fixes #516