Bug Fix: Fixes issue #406 that was introduced in commit 86f308844e

An error was being generated when using the `tap_reporter` with a work flow
that did not go through the `browser_test_runner`. This commit provides
a check which safely allows the logging functionality introduced in the
previous commit to work with all work flows.