Handle TEST_TARGET pointing to an undefined or empty variable
This should never happen, but it just did because I messed up
the pxeboot test template. That caused the resultsdbreporter
consumer to blow up. So we need to handle this so it can get
past that bad message and be happy.
Signed-off-by: Adam Williamson <awilliam@redhat.com>