extend IPTV hack to handle PAT with two entries but only one program

Fixes #11791

(cherry picked from commit 3bd3c71551a938eec2bb50feb48501136704392d)