Fixed ZEN-12168 issue

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