PM has no authority to pardon Musharraf

I am not sure about others if they are underminig PPP government but how come PM Gilani who is PPP leader for so many years and went to jail on this account, nominated by AAZ ignoring BB wishes of making Makhdoom as PM, why he wants to undermine his own government. That does not make any sense.