Currently the underlying backup/restore code does not differentiate null and empty array data. So we have to explicitly check that we got array, even though the correct set_stash() was called.