diff --git a/lib/private/app/appmanager.php b/lib/private/app/appmanager.php
index 5a932b7dc3ff87765441c716cc92eb85b3379e98..1f993d8538f52ecf61113fd57aea06137df6cf19 100644
--- a/lib/private/app/appmanager.php
+++ b/lib/private/app/appmanager.php
@@ -297,16 +297,12 @@ class AppManager implements IAppManager {
 	private function loadShippedJson() {
 		if (is_null($this->shippedApps)) {
 			$shippedJson = \OC::$SERVERROOT . '/core/shipped.json';
-			if (file_exists($shippedJson)) {
-				$content = json_decode(file_get_contents($shippedJson), true);
-				$this->shippedApps = $content['shippedApps'];
-				$this->alwaysEnabled = $content['alwaysEnabled'];
-			} else {
-				$this->shippedApps = ['files', 'encryption', 'files_external',
-					'files_sharing', 'files_trashbin', 'files_versions', 'provisioning_api',
-					'user_ldap', 'user_webdavauth'];
-				$this->alwaysEnabled = ['files', 'dav'];
+			if (!file_exists($shippedJson)) {
+				throw new \Exception("File not found: $shippedJson");
 			}
+			$content = json_decode(file_get_contents($shippedJson), true);
+			$this->shippedApps = $content['shippedApps'];
+			$this->alwaysEnabled = $content['alwaysEnabled'];
 		}
 	}