branch.py: Add missing return in yielded git_with_env

Fixes missing return bug introduced by
c28b3939

Bug: T373441

Merge request reports

Loading