Hi -- you want the site name the form is published to?
The formula:
substring-after(/processing-instruction()[local-name(.) = "mso-infoPathSolution"], 'href="')
will get you the url of the published template. You can further modify it to get just the site using other string functions....