diff --git a/product/ERP5/Tool/ContributionTool.py b/product/ERP5/Tool/ContributionTool.py
index c6f8619deea3ec7de6630ab79776493d2f6d55e8..b8165fbcff2bd5188179a68ceeaca3f7c233ffbb 100644
--- a/product/ERP5/Tool/ContributionTool.py
+++ b/product/ERP5/Tool/ContributionTool.py
@@ -214,7 +214,7 @@ class ContributionTool(BaseTool):
     if portal_type is None:
       registry = getToolByName(self, 'portal_contribution_registry', None)
       if registry is not None:
-        portal_type = registry.findPortalTypeName(file_name, None, None)
+        portal_type = registry.findPortalTypeName(file_name, None, data)
         property_dict = self.getMatchedFileNamePatternDict(file_name)
         reference = property_dict.get('reference', None)
         version  = property_dict.get('version', None)