Redmine#5761: pluck kept_successful_command body
Do not override a kept promise with repaired.

VerifyCommandRetcode takes care of the interpretation, a successful
execution of the command doesn't mean anything at this point.
Pass GenericAgentConfig to NoteVar/Class plugin calls