Fixed Build states for fast finishing

This fixes the changes in PR https://github.com/travis-ci/travis-core/pull/299