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