I am experiencing this same problem.  Below are steps to reproduce it.

# Get project code from existing local repo:

```
$ fossil info lopher.fossil
...
project-code:
```

# Create new repo on

* Log into my account bencollver on
* Open
* At Repository name:, enter: lopher
* At Override project code..., enter
* Click Create Repository
* Save the username bencollver and password [saved password]

# Check the project code

* Browse to the repository URL
* Click Login
* At User ID:, enter: bencollver
* At Password:, enter: [saved password]
* Click Admin
* Click SQL
* Click CONFIG Table Query
* Note that the value for project-code is which does not match my input for Override project code.

# Attempt to sync local repo to

```
$ fossil sync -R lopher.fossil -B bencollver:[saved password]
Round-trips: 1   Artifacts sent: 0  received: 0
Error: wrong project
Round-trips: 1   Artifacts sent: 0  received: 0
Sync done, wire bytes sent: 483  received: 295  ip: A.B.C.D
```