Adapt FindParentCommits() to return nothing when commits are not parents
Unit test