remove: fix "remove" command after semver v2 upgrade

Closes #278.
v0.10.3