Was the attack on GHQ an inside job?

So if Pakistani establishment had focussed on catching this terrorist for last 4-5 years perhaps they would have avoided the embarrasment of this attack on GHQ