Redmine#5761: pluck kept_successful_command body

(cherry picked from commit f108f644a26921f70d03667ea8c76021aad55b85)

Conflicts:
	tests/acceptance/Makefile.am