Prevent `baseUrl` global variable creation.

fixes #17798