[KARAF-3403]bin/client Utility Throws ArrayIndexOutOfBoundsException
(cherry picked from commit 86aff6b16af3990251db44bff605682e9d870efa)