Fix notFound when uploading in root directory