Yeah, the tape certainly isn't a good long-term solution.
Because of the alignment of the layshafts and hydraulic conduits within the case, if the impact was strong enough to put a hole in the case, I would question two things: where that broken piece went and what other internal damage the trans may have sustained...
Just my 2 ˘.