Fix unmount at end of restore.