Properly set target build vars for partial updates. am: f6f75c208f am: 0ed6510cbf am: 093d42d4af

Original change: https://android-review.googlesource.com/c/platform/system/update_engine/+/1383510

Change-Id: If4351223420ddf06161b711514f414a802e9f025