bilmiyordum is correct.
bilmezdim is a more general sense.
Istanbul'un bu kadar buyuk oldugunu bilmezdim. Onu gordugumde anladim.
In your example, you are talking about a moment. That ticket was in your wallet at that time. But it is not like you carried the ticket in your wallet a few years.