added null path handling in LogStorageEngine