Added a dummy version when git client of GIT_COMMIT environment variable
are not around.
Fixed teaching language name resolving and improved corrensponding test.