Fix bug which prevented to clone git repositories