After a little thought I realised...
Giuseppe:
Giuseppe > Geppe > Geppetto
Giuseppe > Giuseppino > Pino > Pinocchio (occhio is a medieval Italian diminutive form). The pine thing is probably a convenient pun. Effectively Pinocchio is just called 'junior'.
:)