[PEP8] changes in checkimages.py

Change-Id: Ibd16e389f99252eaf80a33fb2a823df5dcb7d6c0