reading persistent_storage may return a nil object so updated the check to prevent file comparison from failing
Merge pull request #28 from aishahalim/fixNilCheck

reading persistent_storage may return a nil object so updated the check ...