diff --git a/Tools/PyUtils/python/MetaReader.py b/Tools/PyUtils/python/MetaReader.py
index 9ab92c505836ca892fbc3fa3a9fbddfb7bc67cfc..7bc1ec058f625b6eecddb8afb21d485bd2103781 100644
--- a/Tools/PyUtils/python/MetaReader.py
+++ b/Tools/PyUtils/python/MetaReader.py
@@ -199,9 +199,9 @@ def read_metadata(filenames, file_type = None, mode = 'lite', promote = None, me
                         persistent_instances[name] = ROOT.IOVMetaDataContainer_p1()
                     elif regexXAODEventFormat.match(class_name):
                         persistent_instances[name] = ROOT.xAOD.EventFormat_v1()
-                    elif regexXAODTriggerMenu.match(class_name):
+                    elif regexXAODTriggerMenu.match(class_name) and _check_project() not in ['AthGeneration']:
                         persistent_instances[name] = ROOT.xAOD.TriggerMenuContainer_v1()
-                    elif regexXAODTriggerMenuAux.match(class_name):
+                    elif regexXAODTriggerMenuAux.match(class_name) and _check_project() not in ['AthGeneration']:
                         persistent_instances[name] = ROOT.xAOD.TriggerMenuAuxContainer_v1()
 
                     if name in persistent_instances:
@@ -381,6 +381,15 @@ def read_metadata(filenames, file_type = None, mode = 'lite', promote = None, me
     return meta_dict
 
 
+def _check_project():
+    import os
+    if 'AthSimulation_DIR' in os.environ:
+        return 'AthSimulation'
+    if 'AthGeneration_DIR' in os.environ:
+        return 'AthGeneration'
+    return 'Athena'
+
+
 def _get_pfn(filename):
     """
     Extract the actuall filename if LFN or PFN notation is used