updated github check to ensure only GIT based installed check current version from github.

Reported as issue when installed on NAS without git access.

TODO
- refactor code to be more structured
- re-verify the version.txt is working, as it doesn't appear to be so far.