Fix check for log file path

Change-Id: I1b8dea1a46810e1777cb8cc4525135eca6fb1583