That's not exactly what I meant. In sync.py you have:

```python

                if sync_report.canceled_flag:
                    result_code = RepoSyncResult.RESULT_CANCELED

```

Instead of checking the sync report at all, check importer_instance that's passed into the call.