Workaround ArrayIndexOutOfBoundsException when using tab-completion for OrientDB command arguments