discover/yaboot: Fix assertion failure on empty yaboot files