can you make a subdir `repository` (not `repository_type`), and move this remainder in eg a `repository.py` module in that subdir (don't move this code in `__init__`!)
you will also need to modify any imports like `from easybuild.tools.repository` to `from easybuild.tools.repository.repository`