kocha: Fix output of the stack trace