Get branch from travis env rather than git (detached HEAD)