Sirius did not escape Azkaban in order to kill Peter Pettigrew.
He had known about Peter for twelve years. Sirius only escaped when he realized Peter Pettigrew was near Harry. And when he did escape, the first place he went was Privet Drive, just to get a look at his godson.
It was always about protecting Harry. The possible revenge was just a perk.