GFCI breaker with ground wire

Can’t recall ever seeing a GFCI breaker like this and with a ground wire installed directly on it. It was for a swimming pool pomp if that helps any. Can somebody enlighten me please? TIA.

Is that the bare EGC that is from the 2-wire NM cable that’s landed on the breaker? Since it’s a 240 volt, 2-wire circuit it does not have a neutral so the branch circuit EGC should be landed on the panel EGC bus not the circuit breaker.