[client] improve get repo sync status rpc