There really are people that still don’t know Jesus’ name and still do his will. I have met these people. And they are everywhere. Many closed communities have no idea- not a clue. They are still looking.
As Jesus said, God’ Word is written on the hearts of all men- you just have to listen. Some of them are listening.
If they act in accordance with that what is given by God, how could Jesus fault them for not knowing who he is. And more importantly- why would he even care.
If you grow crops, you are a Farmer. If you grow crops, and don’t know the word ‘Farmer’, you are still growing crops. You are still doing the same thing for the same reasons.