Clean up empty directories on package removal.