gvle: fix the creation of a new directory

- creating a directory requires to verify that the selected item is not a file
(Closes #115)