[BackupRestore] fix GS at flashing new image and RestorePlugins