scripts/pre_remove_exceptions: a bit cleaner cleanup