Fix in JythonScriptRunner: Index error while creating a message