Fix string matching bug in Ubuntu install script.
Commit f58e63a9178d90029fccc45d42ac80edff9838b4 introduced a bug that always set GIT to 'git-core'.