* fix comparison, it is true in case the commitApproved map returns true for the commit id
* fix wrong key for commit id, it is sha instead of commit_id