only create checksums for non-existing checksums
only create checksums for non-existing checksums

This commit fixes an issue that results in error message spam on
the PostgreSQL server. We were previously attempting an insert on
the checksums table for all checksums that belong to a cookbook, even
if they already existed in the database. Because we were rescuing the
conflict, we weren't actually seeing errors, just log spam from
PostgreSQL. This commit ensures that we don't send inserts for
checksums that we already know exist.

marcparadise/chef-server,vladuemilian/chef-server,Minerapp/chef-server,vladuemilian/chef-server,juliandunn/chef-server-1,chef/chef-server,charlesjohnson/chef-server,Minerapp/chef-server,stephenbm/chef-server,rmoorman/chef-server,Minerapp/chef-server,itmustbejj/chef-server,juliandunn/chef-server-1,stephenbm/chef-server,Minerapp/chef-server,vladuemilian/chef-server,chef/chef-server,rmoorman/chef-server,vladuemilian/chef-server,Minerapp/chef-server,chef/oc_erchef,marcparadise/chef-server,charlesjohnson/chef-server,chef/oc_erchef,poliva83/chef-server,rmoorman/chef-server,vladuemilian/chef-server,itmustbejj/chef-server,itmustbejj/chef-server,chef/oc_erchef,poliva83/chef-server,chef/chef-server,chef/chef-server,stephenbm/chef-server,juliandunn/chef-server-1,rmoorman/chef-server,itmustbejj/chef-server,chef/chef-server,rmoorman/chef-server,chef/chef-server,chef/oc_chef_wm,marcparadise/chef-server,stephenbm/chef-server,itmustbejj/chef-server,poliva83/chef-server,stephenbm/chef-server,charlesjohnson/chef-server,charlesjohnson/chef-server,marcparadise/chef-server,juliandunn/chef-server-1,poliva83/chef-server,juliandunn/chef-server-1,chef/oc_erchef,marcparadise/chef-server,charlesjohnson/chef-server,poliva83/chef-server