diff --git a/apps/files_external/lib/config.php b/apps/files_external/lib/config.php
index 46c4f94eec69fc1a74dd0fa77133150af65cd794..6f78e569b64162649f21564c1b1bf7307f188a13 100755
--- a/apps/files_external/lib/config.php
+++ b/apps/files_external/lib/config.php
@@ -517,6 +517,7 @@ class OC_Mount_Config {
 		} else {
 			$mountPoint = '/$user/files/'.ltrim($mountPoint, '/');
 		}
+		$mountPoint = \OC\Files\Filesystem::normalizePath($mountPoint);
 		$mountPoints = self::readData($isPersonal ? OCP\User::getUser() : NULL);
 		// Remove mount point
 		unset($mountPoints[$mountType][$applicable][$mountPoint]);
diff --git a/apps/files_external/lib/personalmount.php b/apps/files_external/lib/personalmount.php
index c3e97092520a29a6a1d8e109f6c70daf9a8c26d2..708128d644ac63457a4f6772bbfa5ffc9473ed74 100644
--- a/apps/files_external/lib/personalmount.php
+++ b/apps/files_external/lib/personalmount.php
@@ -33,6 +33,8 @@ class PersonalMount extends Mount implements MoveableMount {
 	 * @return bool
 	 */
 	public function removeMount() {
-		return \OC_Mount_Config::removeMountPoint($this->mountPoint, \OC_Mount_Config::MOUNT_TYPE_USER, \OCP\User::getUser(), true);
+		$user = \OCP\User::getUser();
+		$relativeMountPoint = substr($this->getMountPoint(), strlen('/' . $user . '/files/'));
+		return \OC_Mount_Config::removeMountPoint($relativeMountPoint, \OC_Mount_Config::MOUNT_TYPE_USER, $user , true);
 	}
 }