Showboating is unsportsmanlike and the offended team has the choice to enforce the penalty on the try or the kickoff. This was enforced correctly.
College has a rule where the touchdown can be taken away and the penalty is enforced at the point of the UC, but this isn't college.