Fix: remove directories of dependencies in package reset.