Don't cache an empty list of environments.