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...
Merge branch 'branches/rudder/2.6' into branches/rudder/2.10
Merge branch 'branches/rudder/2.10' into branches/rudder/2.11