ptAgeVault() can be None, so let's use ptNetLinkingMgr().getCurrAgeLink(). It contains the age instance GUID and all the other stuff you're really looking for here.