Update CacheRegistry.java

updated list function to always return some form of list, empty or otherwise