Add workaround for travis-ci/travis-ci#2811