Add package-safe-delete.
Merge pull request #2090 from Fanael/package-safe-delete

Add package-safe-delete.