Pass ref to tang.hook

This is so that the tang.hook can tell which branch is being used

(and deploy if it feels like it)