Fixes #4158: integrating cfengine 3140, to prevent the promises fro being check at every run
Merge pull request #189 from ncharles/bug_4158/int/prevent_cf_promises_to_be_run_each_time

Fixes #4158: integrating cfengine 3140, to prevent the promises fro being check at every run