Make sure an icon exists for an extension before trying to display it.