Actually it is well documented that ISI does not follow government orders
I don't know what you mean by "not following government orders". They have to follow orders from their superiors. These orders typically come from Top Generals and bureaucrats that pretty much form the "government". If on the other hand you mean politicians as "government" then you are are mistaken. Politicians can't govern their own party and you are expecting them to govern something as serious as country's intelligence?