I have added an XML extension in Studio for overriding the document_edit_form_options layout.
Update my platform --> ok, new layout installed
Then I am deleting this XML Extension from Studio
and update my platform --> the overriding layout is still there and is not uninstalled
I had to create an empty layout referenced in resources.