avoid some spurious error messages when no agent is found