Manage empty values of slave replication.

Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>