package daemon: Ignore only entry events of packages to remove
package daemon: Fix use of destroyed objects

Fixes #9957.