Check outfile at runtime.

It seems that the advice was activated sometimes, even though
ert-runner-output-file was nil. This fix makes sure by also checking at
runtime if there's any output file.