Fix for exception raised when using DummyCache

Note that even though this should not happen since cache.add(key,[]) should make sure there's something in the cache for key, the DummyCache doesn't store any keys therefore cache.get(key) returns None which throws an exception