[FIX] One hasExtension() call was overlooked

Change-Id: I0dfb3304f7a848df2da4ea3746b6adc2a1576bd9