Do not read logs if countdown latch is null

If the receiver was being used and the countdown latch was null
a null pointer exception we be thrown when logs were successfully
retrieved. Additionally, the logs would be consumed, so a test
wanting to read them without the receiver would find them missing.

As the receiver never worked when the countdown latch was null,
this changes the behavior to not read logs in this state.

Test: Presubmit

Bug: 170460270
Change-Id: I1dbd6d0ca89557325d787341d6470621be4d93a3
1 file changed