Modified logic for checking dump progress.
Modified logic for checking dump progress.

Resolves openbmc/openbmc-test-automation#1070

Change-Id: I8b8605c67ebe5b57c606b9e4d3808da890a720dc
Signed-off-by: Rahul Maheshwari <a806e6fd77e56dd64ff6084a06bbf3a5a70392ef@in.ibm.com>

openbmc/openbmc-test-automation,openbmc/openbmc-test-automation