Without this, docker run fails with:
```
swh.core.api.RemoteException: <RemoteException 500 AttributeError: ["'dict' object has no attribute 'url'"]>
```
the `self.origin` references being set to a dict instead of this method which
defines it as a dict.
My best guess is that the method is not properly overridden without it.
No idea why the test do not capture this though. I'm just unstucking this.
Note that's not enough as other issues befall after that.