Fix wrong log message when a promise is ignored due to 'ifvarclass' not ...

...matching

See https://cfengine.com/dev/issues/3254

I have targeted this Pull Request on the master branch, as requested in previous discussions about Pull Requests. However, it is my opinion that this should get backported to the 3.5.x branch to be released in 3.5.2.