PLA-539 fix issue with locally deleted files