diff --git a/Component/RepositoryRegistry.php b/Component/RepositoryRegistry.php
index <HASH>..<HASH> 100644
--- a/Component/RepositoryRegistry.php
+++ b/Component/RepositoryRegistry.php
@@ -19,7 +19,7 @@ class RepositoryRegistry
     /** @var mixed[][] */
     protected $repositoryConfigs;
     /** @var DataStore[] */
-    protected $repositories;
+    protected $repositories = array();
 
     /**
      * @param DataStoreFactory $factory
Fix error in first invocation of getDataStoreByName