scripts/rss: add some nil/empty checks