Fix: repository selection if directory
If Git remote directory chosen is a directory (not starts with - as " - content", then throws an error, fix that variable to pop the element from array
If Git remote directory chosen is a directory (not starts with - as " - content", then throws an error, fix that variable to pop the element from array