chooseEntry allows native UI to create a folder. I can change it to do that. Thee is one thing, for git clone to work the chosen folder should be empty.

We can display an error message if that is not the case.