cache.match and caches.match should resolve undefined if there's no match. Fixes #374