[PATCH AUTOSEL 4.14 59/61] yam: fix a missing-check bug