Bail early when index doesn't exist

Bug: 67465
Change-Id: I8c77128e6a11f90d5e8f649481f7196b3be43eb6
Merge "Bail early when index doesn't exist"