Originally the code calling createIGroup(epa) and updating the cache was outside the if that looks up locally.

I moved it in when doing my own review, and I can;t remember why.