item_updater: Add a log to indicate duplicate image upload.

Added a log to indicate that a user tried to upload a
BMC version that already exists on the system. Thus no
additional software objects were created as one already
exists.

Change-Id: Ibbc37bf24cd653324d29518ccaff542a13bdc07f
Signed-off-by: Saqib Khan <khansa@us.ibm.com>
diff --git a/item_updater.cpp b/item_updater.cpp
index 2ec60c0..80568fe 100644
--- a/item_updater.cpp
+++ b/item_updater.cpp
@@ -122,6 +122,11 @@
                                           this,
                                           std::placeholders::_1))));
     }
+    else
+    {
+        log<level::INFO>("Software Object with the same version already exists",
+                        entry("VERSION_ID=%s", versionId));
+    }
     return;
 }