Add CT fix for peltool hidden info logs

Change-Id: Ia8f52e383d08575d5efcb3b41b0179d3f8894c3c
Signed-off-by: manashsarma <manashsarma@in.ibm.com>
diff --git a/openpower/pel/test_bmc_pel.robot b/openpower/pel/test_bmc_pel.robot
index 079c4f2..d691de1 100644
--- a/openpower/pel/test_bmc_pel.robot
+++ b/openpower/pel/test_bmc_pel.robot
@@ -588,14 +588,14 @@
 
     # Generate informational logs and verify that it would not get listed by peltool's list command.
     ${pel_records}=  peltool  -l
-    ${pel_ids}=  Get PEL Log Via BMC CLI
-    ${id}=  Get From List  ${pel_ids}  -1
-    Should Not Contain  ${pel_records['${id}']['Sev']}  Informational
+    ${ids}=  Get Dictionary Keys  ${pel_records}
+    Should Be Empty  ${ids}
 
     # Verify that information logs get listed using peltool's list command with -lfh option.
     ${pel_records}=  peltool  -lfh
-    ${pel_ids}=  Get PEL Log Via BMC CLI
-    ${id}=  Get From List  ${pel_ids}  -1
+    ${ids}=  Get Dictionary Keys  ${pel_records}
+    Should Not Be Empty  ${ids}
+    ${id}=  Get From List  ${ids}  0
     Should Contain  ${pel_records['${id}']['Sev']}  Informational