Fix a bug of CloudKeyStore example code