fix use of obsolete column name in `branch.py`