Fixed the call to addBranch() to include $branchName

There are no `\r` in these files