For hostLanguage, give runner part before '-' only

This allows use of "html5-invalid" as a host language without breaking behavior of the runner.