parser/yaboot: Fix check for image presence