Only check the base URL from the main process when pytest-xdist is in use.