Redmine#5241: do not reevaluate promises for known classes

see https://dev.cfengine.com/issues/5241

staged test