Fix for no md5 restore

Signed-off-by: Tony Liu <fentensoft@163.com>