optimize a bit the CI workflow PR commenting logic to avoid some errors and better debugging messages.