diff --git a/setup/src/Magento/Setup/Model/MarketplaceManager.php b/setup/src/Magento/Setup/Model/MarketplaceManager.php
index 0cc680f3c0c157f4b1d8b9f6d55e4bfcd47475ec..7134769b4208daf1a35846bd1c38969d83d638f6 100644
--- a/setup/src/Magento/Setup/Model/MarketplaceManager.php
+++ b/setup/src/Magento/Setup/Model/MarketplaceManager.php
@@ -271,7 +271,8 @@ class MarketplaceManager
                 $authJsonData = $this->getAuthJson();
                 if (isset($authJsonData['http-basic']) && isset($authJsonData['http-basic'][$serviceUrl])) {
                     unset($authJsonData['http-basic'][$serviceUrl]);
-                    $path = DirectoryList::COMPOSER_HOME . DIRECTORY_SEPARATOR . $this->pathToAuthFile;
+                    $path = \Magento\Framework\App\Filesystem\DirectoryList::COMPOSER_HOME
+                        . DIRECTORY_SEPARATOR . $this->pathToAuthFile;
                     if ($authJsonData === ['http-basic' => []]) {
                         return $this->getDirectory()->delete($path);
                     } else {