Protect `_resource_entries` against empty `result`

googlebot triggered an exception that forced a 500 http return