Bug 995420 - Make sure cursor returned from HomeProvider isn't null. r=lucasr