Fix board name matching logic to handle keyset strings

On non-test images, the board name can contain the keyset string
beside the actual board name. So, fix the logic to match prefix
only.

BUG=chrome-os-partner:41066
TEST=Manula on device.

Change-Id: Ib23ad2e2d4f981a14f3577667bf6a92aafe87be9
Reviewed-on: https://chromium-review.googlesource.com/276591
Reviewed-by: Chung-yih Wang <[email protected]>
Commit-Queue: Tai-Hsu Lin <[email protected]>
Trybot-Ready: Tai-Hsu Lin <[email protected]>
Tested-by: Tai-Hsu Lin <[email protected]>
(cherry picked from commit e0a440878060b01e228ab553a6549440b054da00)
Reviewed-on: https://chromium-review.googlesource.com/276651
Reviewed-by: Matthew Yuan <[email protected]>
Tested-by: Matthew Yuan <[email protected]>
1 file changed
tree: 0da65fa6d801ae99819e7ab84089f6414209c6f7
  1. scripts/
  2. LICENSE
  3. OWNERS
  4. README