Fix snaphot revert

Signed-off-by: Yury Tsarev <ytsarev@suse.com>