This is a guide how to do this, cuz it uses skililnfo.xml and with as often as it's updated i'm not claiming to try and keep the mod updated. That said, this is really simple to do.
Make sure you have the most recent one, or modding your existing one, and open data/db/skill/skillinfo.xml
Divine Link is the name, skill id is 46004, you can search either of those.
Scroll through that line until you find
TargetPreference="enemy"
All you need to do, edit enemy and change it to friend, so it looks like
TargetPreference="friend"
That's it, you're done. Now you can ctrl+target your pet with divine link. On the downside, divine link also control targets players, but you still can not use it on them. Small drawback though, given that you had to actually click your pet before, or alt click it's name.