I would read that as impacting the actual penalty kick, which it didn’t. An answer from IFAB is:
The penalty kick is retaken only if the encroachment clearly impacted on the kicker or the ball rebounds into play and the encroaching player then plays the ball or challenges an opponent for the ball and prevents the opponents from scoring, attempting to score or creating a goal-scoring opportunity.
Gogic clearly impacted Maswanhise collecting the rebound so it’s the second part that is relevant.