diff --git a/lib/private/files/storage/wrapper/availability.php b/lib/private/files/storage/wrapper/availability.php
index 37319a8f7d11befb5c32d4c12874c228564ac97b..d6ce78f6e448e44a31f25ffd003effcf040832a7 100644
--- a/lib/private/files/storage/wrapper/availability.php
+++ b/lib/private/files/storage/wrapper/availability.php
@@ -220,6 +220,9 @@ class Availability extends Wrapper {
 
 	/** {@inheritdoc} */
 	public function file_exists($path) {
+		if ($path === '') {
+			return true;
+		}
 		$this->checkAvailability();
 		try {
 			return parent::file_exists($path);