As proposal:
```python
variables = (('database_path_value', 'database.sqlite'),
                    ('media_path_value', 'media'),
                    ('whoosh_index_path_value', 'whoosh_index'))
for key, value in variables:
    path_list = [final_path, value]
    if '.' not in value:
       path_list.append('')
    user_data_path_values[key] = repr(filesystem2unicode(os.path.join(path)))
return user_data_path_values
```
And are you sure you can use repr? It seems a bit strange to use filesystem2unicode to get an unicode object and then use repr to get a str.