Fix API::MergeRequest

Refs #5145
Merge pull request #5149 from hiroponz/fix-api-merge-request

Fix API::MergeRequest in 6-1-stable