Translation should be ‘I did not know’, not ‘I did not think’?
Yes, that would indeed be closer to the Polish sentence.
“Nie wiedziałem” means I did not see, not I did not think.
Nie wiedziałem = I didn’t know.
You are thinking of nie widziałem, which means I didn’t see.