`Defaults.apply`: Tighten the type-checking for `settings.extension`.

`null` values are no longer allowed.