Do we need regexps here? Maybe we can just use `replace`: 
```python
repo = repo.replace('.', '_')
```