[wrt] Fix issue for test.py

Impacted Suites：wrt-packertool-android-tests
Impacted tests(approved): new 262 update 3, delete 0
Unit test platform: [Android]
Unit test result summary: pass 265, fail 0, block 0

Impacted Suites：wrt-manifest-android-tests
Impacted tests(approved): new 265 update 0, delete 0
Unit test platform: [Android]
Unit test result summary: pass 265, fail 0, block 0