Support merge requests from a different project (fork) in getCommits()

Since commits are retrieved from the _source_ branch, the URL should use the _source_ project (if it was set).