cache.c: _load_cache_contents()

Added a quick fix to a void a NULL pointer de-reference. Needs review.