Ensure the the database of plugins is updated if a package is deleted,
and it had observers.