Apply fix described https://github.com/karma-runner/karma-teamcity-reporter/commit/8affc404c58b1d193918b2f14dc42e968f264bf7#diff-168726dbe96b3ce427e7fedce31bb0bcR29