Fix push to hub
# What does this PR do?

Previous PR #23920 wasn't correct, line 715 should not have been included.

This PR fixes that.
_The documentation is not available anymore as the PR was closed or merged._