branch.c: use the parsed branch name