[TF] Fix creating a PR while pushing in TF framework
# What does this PR do?
Fixes #21967, where models in TF can't push and open a PR. A test should probably be added
_The documentation is not available anymore as the PR was closed or merged._<|||||>Yep, adding this<|||||>I had a question, the `create_pr` function parameter is not available in the corresponding `PyTorch` or `Flax` implementation, I was wondering if this is intended. <|||||>Not sure I follow, torch already has this parameter. 