Redmine#5761: adjust masterfiles because of u_kept_successful_command body

(cherry picked from commit 7c895defcdb1534d80cb33f0d42871ddfc2a6feb)