diff --git a/swh/lister/maven/lister.py b/swh/lister/maven/lister.py
--- a/swh/lister/maven/lister.py
+++ b/swh/lister/maven/lister.py
@@ -1,4 +1,4 @@
-# Copyright (C) 2021 The Software Heritage developers
+# Copyright (C) 2021-2022 The Software Heritage developers
 # See the AUTHORS file at the top-level directory of this distribution
 # License: GNU General Public License version 3, or any later version
 # See top-level LICENSE file for more information
@@ -12,7 +12,6 @@
 
 import requests
 from tenacity.before_sleep import before_sleep_log
-from urllib3.util import parse_url
 import xmltodict
 
 from swh.lister.utils import throttling_retry
@@ -83,9 +82,6 @@
         self.INDEX_URL = index_url
         self.incremental = incremental
 
-        if instance is None:
-            instance = parse_url(url).host
-
         super().__init__(
             scheduler=scheduler,
             credentials=credentials,