fix memcache backend setting when server list is empty

Fixes bug 1187811

Change-Id: I81502e453ab059f16931b10b6c5d08b21b4ed1e6