Add check to make sure we don't move the git log iterator past the initial commit