Don't you realize that it can be BOTH? That they would like to keep it for themselves, AND that they don't want Pakistan getting it? Both those sentiments are expressed in the very article you quoted, in response to which your foreign ministry's spokeswoman had to cry about Pakistan being committed to fighting terrorism, "unfair accusation that Pak causes terrorism" and so on.
As far as the afghans are concerned, the best possible thing to happen is i they can keep it. Can't blame them. But failing that, the next best option is to not let these equipment go to the patrons of their enemies - ie, Pakistan. If it's a choice between giving to Pak and selling to India, Afghans would much rather have these sold to India, rather than the country that sponsors the terrorists who make their country a hell.