Generate runtime warning if code assumes that repaired classes are set by default

In 3.7, a command executing with exit-code 0 implies kept, not repaired. Use
repaired_returncodes from body classes to keep old behavior.

Redmine #5761