f755eef staging-sync/db-sync: Fix the condition to ensure the server is defined and not null

Authored and Committed by pingou 3 years ago
    staging-sync/db-sync: Fix the condition to ensure the server is defined and not null
    
    Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>