expand parameters in the remote branch name of merge options

Perform parameter expansion on the branch name in merge options. When building pull requests for example it is important to merge against the target of the pull request, instead of a fixed value.