Use the last two parts of the archive path to determine version string.
On builders, cros_generate_test_payloads may run sequentially for two
different boards with the same version. Archive paths are given with
.../board_config/version. Use the last two parts and not just the version
(cherry picked from commit 4023d3add56990aafd5f0139d1ae344230e1c484)
Reviewed-by: Chris Sosa <email@example.com>
Tested-by: Chris Sosa <firstname.lastname@example.org>
2 files changed