Matthew Pettit faced up to seven years in prison before he received a break that would change his life.