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

Commit : https://github.com/rear/rear/commit/ede40979e3b97a07092281e3fbd483fc7643f662