ask_exec: ignore events for missing profiles
... and not only for events in missing hats.
This fixes a crash if the log contains exec events for a hat where not even the parent profile exists.
I propose this patch for master, 4.0 and 3.1.
(In 3.0, aa
is still a hasher
which avoids the crash, therefore it doesn't really need this patch.)