Fixed ZEN-12168 issue

Are we sure that stdout will always have 6 elements here?