BUG: Replication of ~/local to slave sites broken after upgrade to Checkmk 2.0

I re-enabled it today and tested it several times. The problem still exists in 2.0.0p3, but it happens only in about 1 out of 4 cases. Sometimes the files in the “local” folder just disappeared on the slave site.
We definitely didn’t have the problem before version 2.0.