array: avoid crash on unset variable