I'd say normal reaction from your dog ! Although you want to teach him not to do that, if he was startled and felt he was in danger, he just had a normal defensive behaviour ! You can't expect a dog not to defend himself if he feels threatened ? Especially since your pup also felt you were taken by surprise. Goku probably thought you were scared too !
I'd say the man was at fault there... (my opinion though...)