Fixing Redmine issue #4851

Fixing Redmine issue #4851
https://cfengine.com/dev/issues/4851