After getting to the root of this issue with help of - Scyther the problem seems to be from "IP to Country" module which sends 'unknown' as a country code to the theme function and that is why I am getting unknown.png icons on my site.

My issue in this module's bug section has not received a single reply since past 51 weeks and I hope this time somebody help me get this resolved.