Rather than construct this twice, I'd do:

```python
url = '/'.join([self.base_url, self.monthly_build_list_regex, dir])
if self.application in ('b2g') and self.locale != 'multi':
    url = '/'.join([url, self.locale])
```