More direct retrieval of current branch name