env: make TRAVIS_OS_NAME pull from config, not job

This is probably the cause of travis-ci/travis-ci#2205.