[indexPattern.get()] don't cache requests without an id

When indexPatterns are requested, and an id is not specified, the response should not be cached or fetched from cache.