Nope - because the bride and groom DID NOT invite the guest - they invited the person, who in turn, invited the guest. Therefore, the invitee should be willing to put the guest's name on the gift, if inclined to do so.
In fact, I would not expect the bride and groom to expect gifts -...