diff --git a/ckanext/odsh/profiles/odsh_european_dcatap_profile.py b/ckanext/odsh/profiles/odsh_european_dcatap_profile.py
index c9a8ecf34dff0dfe58ddb821233b8eba4af5c181..4b56438b46cac14fd2b2261c490f2e25ec6950e1 100644
--- a/ckanext/odsh/profiles/odsh_european_dcatap_profile.py
+++ b/ckanext/odsh/profiles/odsh_european_dcatap_profile.py
@@ -78,7 +78,7 @@ def resource_formats():
     # Something went wrong with trying to get the file formats online, try to use backup instead
     try:
         fallback_filepath = config.get(
-            'ckan.odsh.resource_formats_fallback_filepath')
+            'ckanext.odsh.resource_formats_fallback_filepath')
         g.parse(fallback_filepath)
         assert len(set([s for s in g.subjects()])) > 120
     except:
diff --git a/ckanext/odsh/tests/test_env.py b/ckanext/odsh/tests/test_env.py
index bc36ce40aff618df47b0f16917b4601ba0f9851a..978fdfde07442c0316988a09c9da9a487b840590 100644
--- a/ckanext/odsh/tests/test_env.py
+++ b/ckanext/odsh/tests/test_env.py
@@ -163,7 +163,7 @@ class TestEnv:
         assert sum(['dcat' in l.id for l in licenses]) == 23
 
     def test_dcat_formats(self):
-        checkConfigFile('ckan.odsh.resource_formats_fallback_filepath')
+        checkConfigFile('ckanext.odsh.resource_formats_fallback_filepath')
         profiles.resource_formats()
         assert len(profiles._RESOURCE_FORMATS_IMPORT) > 120