fixed unit path in RasDataParser::parseBus()

This function was not properly converting the unit name into the device
tree path as designed. This will result in an exception thrown by pdbg
because we are using an unsupported device tree path.

Signed-off-by: Zane Shelley <zshelle@us.ibm.com>
Change-Id: I966abb043988866ef22cc5dd85ee1b55c9a07d3b
diff --git a/analyzer/ras-data/ras-data-parser.cpp b/analyzer/ras-data/ras-data-parser.cpp
index b97ac01..e3b86f6 100644
--- a/analyzer/ras-data/ras-data-parser.cpp
+++ b/analyzer/ras-data/ras-data-parser.cpp
@@ -137,7 +137,8 @@
     std::string unitPath{}; // default empty if unit does not exist
     if (bus.contains("unit"))
     {
-        unitPath = bus.at("unit").get<std::string>();
+        auto unit = bus.at("unit").get<std::string>();
+        unitPath  = i_data.at("units").at(unit).get<std::string>();
     }
 
     return std::make_tuple(busType, unitPath);