Get branch name the original way

for non travis: git rev-parse --abbrev-ref HEAD
for travis: env["TRAVIS_BRANCH"]