Could you please add some assertions here?

Maybe:
 - Number of parents of the merge commit
 - Ensuring the Commit.Tree contains the expected files