WL-2823 Make sure we link to the correct site.

Site.getURL() returns the primary URL of the site, we want the one related to the current location of the user in the hierarchy. This fixes the bug of users always being taken to a site's primary location in the hierarchy.
Merge pull request #8 from ox-it/WL-2823

WL-2823 Make sure we link to the correct site.