https://fedorahosted.org/389/ticket/48934
https://fedorahosted.org/389/attachment/ticket/48934/0001-Ticket-48934-remove-ds.pl-deletes-an-instance-even-i.patch
Special thanks to
Simon Pichugin
for the bug report with the idea how to fix it.