diff --git a/odoo/modules/module.py b/odoo/modules/module.py
index f445b8d1436415cc250b9264b592047c05ece7fa..b3cf1bad9f21b61db14f81f6fe9c99ed64004e38 100644
--- a/odoo/modules/module.py
+++ b/odoo/modules/module.py
@@ -421,6 +421,9 @@ def get_modules():
 
     plist = []
     for ad in odoo.addons.__path__:
+        if not os.path.exists(ad):
+            _logger.warning("addons path does not exist: %s", ad)
+            continue
         plist.extend(listdir(ad))
     return list(set(plist))