Gradle Generate settings return 'null' when one of the 'repository key' is empty
Steps to reproduce:
- Create only one local Gradle repository (you should not include additional Gradle repositories in the setup)
- In the UI tree browser, choose the repository you just created and click on the 'Set Me UP' button.
- Then click on the 'Generate Settings' button.
An error should pop up and warn there is an empty field, and settings can not be generated.
When clicking on the 'GENERATE SETTINGS' button we are getting 500 errors.
In the request payload, we can see a 'null' value is being sent due to the empty field.