Update setup.sh

Fixed a typo when checking the existence of models folder and updated the git repo init lines to make them run as when it is not a git repo.