Improves error message in case a null query is passed to CacheStorage.