Fix error when Memcached::getAllKeys() fails.
Fix error when Memcached::getAllKeys() fails.

Refs #7546

et304383/passbolt_api,et304383/passbolt_api,et304383/passbolt_api,et304383/passbolt_api,et304383/passbolt_api