cloud/elasticache: Ensure self.data is iterable

Fixes bug report in #6964