Plug leaks found when using --force-removal-of-dependent-packages.