rename store_dir to client_repo in global_context.h