Correct error catching for new commit object