Fix workflow 510.0

Same fix as in #4473.