Avoid the use of localhost:4242 when base_site is not set