OpManager not parsing SSH output

OpManager not parsing SSH output

Because I want to run a script on a UTM, linux based, I got a problem when OpManager tries to parse the SSH output, but can't fix it.
Because OpManager executes:

cd /tmp
echo $?

On the log I can't see a JAVA exception in trying to convert the "echo $?" to integer at:

0 utm-test:/tmp #

Which basically is the box not breaking the line, to the OpManager terminal (works on putty simply well).
So OpManager confuse itself trying to take the 0.
Any recommendation?
OpManager has no flexibility, it's all hardcoded I guess.
              New to ADManager Plus?

                New to ADSelfService Plus?