fix for webdav because initMounts() is triggered twice so we lost the root path