Skip strcmp() on 2 NULL pointers.