Yes, but this isn't what they'll say if you ask them.

Hiring based on the worst prejudice or nepotism is still merit based in this sense. Meritocracy is supposed to be about varieties of merit which you aren't ashamed to admit are relevant.