aosp.py: Fix issue to flash image