The existing code would just use/replace the existing directory.
mentioned in merge request !65948 (merged)