Just like I thought:
67.3 Minor Penalty – Goalkeeper -
A goalkeeper shall be assessed a minor penalty when he throws the puck forward towards the opponent’s net. In the case where the puck thrown forward by the goalkeeper being taken by an opponent, the Referee shall allow the resulting play to be completed, and if goal is scored by the non-offending team, it shall be allowed and no penalty given; but if a goal is not scored, play shall be stopped and a minor penalty shall be imposed against the goalkeeper.