- enabled adding new repositories

- added option to specify repository target platform
- 2.17.40
looks like wrong indentation