Fixes to Git-FTP support by [Živorad Milekić](https://github.com/zivoradmilekic)