When generating the boot profile, ignore directories in process_IN_ACCESS as well (Closes: #7925).

We were already ignoring directories in process_IN_OPEN, but it looks like it's
not enough anymore. Let's try harder to skip them.
Merge remote-tracking branch 'origin/bugfix/7945-directories-in-boot-profile' into stable
Merge branch 'stable' into devel