fixed IllegalArgumentException in case there is not commits in the review