Fix the real issue.

Revert "Fix the small error"

This reverts commit fbdec8c1335c1a0636a6cc5f10e779b56af30933.

Revert "Revert "Revert "bring back assert in updater-script"""

This reverts commit 9072ef470b38fce93d8fcdb3ddce6745b4d13503.