Fix for detatched head state caused by travis

add reference in get current branch name for backtracking branch