The tour macro runs a simple prefix test with the baseURL of Confluence to check if the URL points to a resource of the local server. The prefix is not enough to check.