SI-7328 Bail out of names/defaults when args are error typed

To avoid a crasher later on with a null type inside a
sequence argument.

Review by @lrytz