Fix bash echo generator for passing an array of messages

Fixes https://magnum.travis-ci.com/travis-pro/travis-enterprise/builds/7426489#L7