Check for valid blog and context before running refreshBlogContentTask