Handling case in commit.getDiff() where there are no parents.