Make linter ignore properly checked API mismatch

A recently introduced API mismatch should be ignored by the linter as its properly checked via a conditional.