Use TRAVIS_BRANCH instead of buggy shell cmd