Update cache with hardware content

In the event of system VPD restore in case there is a mis-match
found between bmc cache data and EEPROM data then bmc cache is
required to be updated by EEPROM data and PEL is logged.

Signed-off-by: Sunny Srivastava <sunnsr25@in.ibm.com>
Change-Id: Ib73fbc0d4b9283dc14fce2565be144a82f375fca
diff --git a/ibm_vpd_app.cpp b/ibm_vpd_app.cpp
index b268ce3..b2211f5 100644
--- a/ibm_vpd_app.cpp
+++ b/ibm_vpd_app.cpp
@@ -661,13 +661,12 @@
 
                             updatedEeproms.push_back(std::make_tuple(
                                 objectPath, recordName, keyword, busData));
-                        }
 
-                        // update the map as well, so that cache data is not
-                        // updated as blank while populating VPD map on Dbus in
-                        // populateDBus Api
-                        kwdValue = busValue;
-                        continue;
+                            // update the map as well, so that cache data is not
+                            // updated as blank while populating VPD map on Dbus
+                            // in populateDBus Api
+                            kwdValue = busValue;
+                        }
                     }
                     else if (kwdValue.find_first_not_of(' ') == string::npos)
                     {