Fix logic for the TRAVIS_BRANCH.