Fixed source branch name not being in new merge request dropdown toggle
What does this MR do?
Fixes the source branch name not being in the dropdown toggle text. It was previously using local_assigns
when it just needed to use the form object.
Screenshots (if relevant)
What are the relevant issue numbers?
Closes #29660 (closed)