Prevent error when baseUrl is missing.