Can we make this into something like:
```
if 'marketplace-dev.allizom.org' in self.base_url and ...
```

This way we make sure that we are not hard coding the protocol.