Fix Redmine/5748 - make defaults promises work in bundles using classes promise

It sure looks like a bug to me: if fail1 is defined and ok is also defined, then strcmp() claims value[1] is equal to "one" but also claims it's equal to "default".