diff --git a/lib/Manager/Manager.php b/lib/Manager/Manager.php
index <HASH>..<HASH> 100644
--- a/lib/Manager/Manager.php
+++ b/lib/Manager/Manager.php
@@ -106,13 +106,13 @@ class Manager implements ManagerInterface
         }
 
         // Either way, if the config is null we check the global cache
-        if ($config === null) {
+        if ($config === null && $currentConfigItem !== null) {
             $config = $this->cache->getItem($currentConfigItem);
             if ($config !== null) {
                 if ($this->localCache instanceof StorageInterface) {
                     $this->localCache->setItem($currentConfigItem, $config);
                 }
-                }
+            }
         }
 
         if ($config) {
Fixed an issue that may occur in an empty cache