Fixes #5208: correct reporting of post modification hook if file is checked only at creation
Merge pull request #436 from ncharles/bug_5208/dev/fix_report_for_check_generic_file_content

Fixes #5208: correct reporting of post modification hook if file is chec...