[11.10 RC8 port] Fix remove_source_branch merge request API handling
requested to merge sh-fix-merge-requests-api-remove-branch-param-11-10-rc8 into 11-10-stable-prepare-rc8
This ports https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/27392 to 11.10 RC8.