Deal with the case where `language` is an array

Users shouldn't do this, since we only use one language in a build,
but some users have it, and it was a regression to not deal with this.
Merge pull request #309 from travis-ci/ha-bug-lang_array_in_config

Handle the case where `language` is an array