Pkg: allow rm'ing unregistered packages; handle add errors better.

Note that this doesn't actually delete the package, but rather just
moves it into .trash – only if there is *already* something in there
by the same name does that pre-existing thing actually get removed.