Although there is a reliance on U.S. equipment. Bear in mind that there are many countries operating systems such as UH-60 and CH-47, and perhaps AH-1Z in the future. Like the F-16 and C-130, these aircraft are supported by a global support network spanning many countries, even including some of Pakistan's relatively close geo-political partners - such as Turkey, UAE, KSA, etc. Furthermore, the U.S. would not have given Pakistan status as MNNA, nor would it have allowed it to join CTF-150, participate in Anatolian Eagle or even receive an invite for Red Flag if it there was no scope for long-term cooperation. Heck the U.S. even wants to establish a form of interoperability (Link-16, Block-52+, etc) with the Pakistani Forces, this isn't light stuff.
Amazingly, despite Pakistan's lackluster economic performance, lack of political objectives, lack of clarity, etc, there is still immense potential. Pakistan is effectively a 'tri-regional power' in terms of its political and economic weight in South Asia, Central Asia and the Middle East - although restrained and largely static. Nonetheless, the U.S. is a smart country, and it does leave the door open for an opportunity to 'score' if and when a rising Pakistan were to emerge. The last thing you want to do is to leave a bad taste for such a generation, and have them give you trouble in multilateral institutions such as say G20 (expanded from original G7/8). As the spheres of power and global governance continue to expand, including the poised induction of some N-11 countries in the future, you would want as many friends in those spheres as possible.
Realistically speaking, the U.S. knows that Pakistan's region - i.e. Afghanistan, Arabian Sea, etc, - is a hotspot for a lot of assymetrical problems. Furthermore, I would say that the resolve and commitment to handle these issues is most mature in Pakistan than say Bahrain and UAE...although KSA is becoming increasingly prominent. Instead of having to over-rely on sketchy PMC operatives, deal with "violating a country's sovereignty", etc, etc, the U.S. knows it is supporting the countries affected most and closest. Should the helicopters and fighter aircraft perform well, then Pakistan (and others) will buy additional units. Should the training help, then Pakistan will award new training contracts, etc.
Knowing that you can't blame U.S. for civilian casualties, perhaps the Pakistani Forces will conduct their operations with sharpened precision and greater empathy for the innocent. Knowing the negativities of funding sub para-military militants, the Pakistani Establishment will learn to project its political policies on the global stage properly...and to take a few "hits for the team" by finally accepting land-taxation, land-reform, proper education, social-care support (health, disabilities, etc) and choking corruption.