Tweak to support really big merge requests

Related to:

https://gitlab.com/gitlab-org/gitlab-ce/issues/295#note_160691

Fix based on Matthieu Vachon suggestion.
@randx I preffer to not change this because all the file is using single quotes. I can provide a new pull request  with this refactor.