Agree in principle, but what if we know where UBL is and they say we can't mount a raid or an attack? At some point we need to let these countries know that giving sanctuary to our enemies cancels the usual niceties. Had we told them about this raid I suspect the odds of the targets being there would have been zero.
Like the Navy Seal said on TV the other day. Can't remember the show and they did keep his identity a secret, but he said the problem is too many layers in the chain of command before a strike can be executed. He said these guys don't stand around waiting to be hit. Most, if not all of these targets would be gone today if the war was waged without regard to politics.