Type name should be 'array', not 'list'.

Small bug due to lesser used code path, now squashed!