panelutil: Simplify pullVarAsArray