Git external repo fixes:
- re-enabled polling logic in case of git external repo
- unified configuration constants.
- fixes #2514