py3: ota_from_target_files.py: fix logic that broke

Change-Id: I032097c463598d1246feb92c02567175a65f90fd
1 file changed