once map key is found, can stop looking

trivial code change, merge only after it seems that import isn't now broken