[script] Update pack.py to fix icon-opt issue

Signed-off-by: Hao yunfeix <yunfeix.hao@intel.com>