fixes travis-heroku bug introduced recently

The fix comes from "this travis-ci":https://github.com/travis-ci/travis-ci/issues/2272 issue