post_version.py: fix branch name construction for release candidates