Fix printf colorizing

We should use `Seq.tryHead` and do nothing if `idents` are empty lists.