Some sanity checks to prevent dying on aggregation.

The feed http://dustdrops.blogspot.com/feeds/posts/default makes plagger die
due to the fact that $media becomes non-HASHref as assumed in the code.