Our pup does this too. Everyone says they will probably outgrow it, but in the meantime do not get excited or give lots of attention right away when greeting the dog. Avoiding this behavior does keep the dog from getting excited and, therefore, she doesn't pee!
I would bet that he will outgrow it soon. In fact, this is actually a smart defensive move on the part of your puppy...in the dog world, he is telling your husband that he submits to his authority and won't challenge him.
Just try to ignore it and don't over-react...your pup will probably stop in a few weeks.