Fix for error when no memcached layer is present