getSiteUrl is a documented method in the config class. It, at one point worked, but has been removed without notice....amateur.