lookup the versions using the sha
lookup the versions using the sha

product/sha has got an unicity key. Ensure we do not recreate another
record with the same sha.

Change-Id: Id7aab6a29ebdc239d1c6e39b7435f5b838dab352

goneri/dci-control-server,enovance/dci-control-server,enovance/dci-control-server,goneri/dci-control-server,goneri/dci-control-server,goneri/dci-control-server,redhat-cip/dci-control-server,redhat-cip/dci-control-server