I think the issue is that the name of the site is not taken into account in the FormPropertiesManager#remove method. (call from FormsCopyUpdater#updateContent)