BZ1048974 - Restore operation for a version that deleted a file gives error
(cherry picked from commit 64c1ddf85d5216f0df8cf77c715f0377c8b23490)