EZP-21633: Fix siteaccess injection which fails in some cases, take 2

See #79.

Fixed in the wrong place...