- enabled adding new repositories

- added option to specify repository target platform
- 2.17.40