Refine version test to tolerate missing first_api_level and check sdk
level

Test: run the test
Change-Id: I429518ec6cd51328532179448eca8f04b961de14
Fixes: 62496616
(cherry picked from commit 18b35a6f2b4ba1003d070c36ad25be42a5262312)
1 file changed