Fixed the TRAVIS_BRANCH logic.