If your model properly predicts all expected genes, the mean computed afterwards should not be “wrong”. This line was supposed to “penalize” missing values.
The competition on the platform remains unaffected because predictions with missing entries are rejected immediately.