shellvar: make array_append work