JENKINS-31661 included a new panel in the setup wizard to define the Jenkins root URL. This was supposed to be skipped when the root URL had already been defined by other means (such as a Groovy init hook), but that logic only worked when proceeding through the panel to create an initial admin user; if you picked the link to skip creating a separate user (just keeping the default admin user) then you were still asked to configure the root URL.