fix regression due to an old commit (integrity check and restoring from 'empty')
Merge pull request #396 from Florent38/restorearchive

fix regression due to an old commit (integrity check and restoring from 'empty')