Check for git repository before cloning
Merge pull request #1179 from thgil/bootstrap

Bootstrap.sh check for git repository before cloning