Bug fix: add condition back

Rationale:
CL https://android-review.googlesource.com/c/platform/art/+/673413
left out this important condition

Test: test-art-host
Change-Id: Id233f07f2089e5269e7982146ff45864dc3e6acf
1 file changed