Added a conditional that prevents syncing with a public repository

Regarding issue 121: 'Github: Do not sync with public repos'