This commit fix the "Does not inform the user when files where lost while cleaning an archive" (for the CLI) bug, and adds a test for it.