BUG 5089: Fix incorrect slave schema repo behaviour