Revert "BZ1048974 - Restore operation for a version that deleted a file gives error"

This reverts commit b4e915fd386a960a9d2027dfaeff8543ac5590b9.