Fixes #4175: Handle too long name in Directive tree
Merge pull request #417 from VinceMacBuche/bug/4175/directive_name_too_long

Fixes #4175: Handle too long name in Directive tree
Merge branch 'branches/rudder/2.6' into branches/rudder/2.7
Merge branch 'branches/rudder/2.7' into branches/rudder/2.8
Merge branch 'branches/rudder/2.8' into branches/rudder/2.9
Ref #4175: Adapt fix to 2.9