I'm not sure this `join` does what you want here. Would something like this be better?

```python
if options is None:
    options = []
elif isinstance(options, str):
    options = [options]
for repo in repos:
    options.append('--enablerepo=%s' % repo)
```