Cleaned up NewCache()

Signed-off-by: Luis Pabon <lpabon@redhat.com>