`ftw.upgrade` provides `self.objects`, which is a shortcut for catalog searching and progress logging:

```python
for repository in self.objects({'portal_type': 'opengever.repository.repositoryfolder'},
                               'Cleanup mapping on repositoryfolders'):
    self.move_repository_reference_mappings(repository)
```

:wink: