matrix expansion: do not explode on config[:matrix] being an array