[autotest] Fix the logic error when seed attributes in control files

Basically, at the very early stage of seeding attributes in control files,
ATTRIBUTES should be parsed from SUITE, and therefore the two should match.

When the control file doesn't have 'SUITE' entry, ATTRIBUTES doesn't match
to SUITE only when the ATTRIBUTES is not empty.

Therefore, change the unmatch condition from
not hasattr(control_data, suite) and not control_data.attribtues to
not hasattr(control_data, suite) and control_data.attributes

BUG=chromium:482676
TEST=Test locally

Change-Id: Ib0e1eba1517a1a205a8e1b3bfc922916659efe1d
Reviewed-on: https://chromium-review.googlesource.com/268372
Tested-by: Shuqian Zhao <shuqianz@chromium.org>
Reviewed-by: Aviv Keshet <akeshet@chromium.org>
Commit-Queue: Shuqian Zhao <shuqianz@chromium.org>
1 file changed