Fix crash in test_deployment due to misplaced null check
1 file changed