Adjust sync templates flow to use new release branch (#5182)
As the release branch name changed starting from this release, this PR
adds it to the sync templates flow so that checkout step worked
properly.
---------
Co-authored-by: rzadp <[email protected]>