Display "===>undefined<=== (completed successfully)" instead of current "===>undefined<=== (undefined)", which is a bit misleading. Fixes: #5180