Fix check for slave existence

PROD-30944

Change-Id: I253f22673d0fdd4ca301ad3e2a0b109dff5894da
1 file changed