Fixes #3069 : correct the version 3.0 of the check generic file content based on the modification applied on version 3.1

Applying the modifications of http://www.rudder-project.org/redmine/issues/2819 to solve http://www.rudder-project.org/redmine/issues/3069