Handle matrix definitions with lists in them.

This currently ignores the list. This occasionally happens when a user has a list of environment variables in the `matrix` section rather than in an `env` section.

An alternative would be to hoist any list definition to the `env` section.

What do you think?