It's much more likely that the two year prison sentence was due to the young man's violation of his probation than for petty theft. Anyway, I didn't think the author was bragging about the prison sentence -- that was up to a judge to decide. Rather, the author was bragging about tracking the guy down. Surely you don't think the thief should have gotten away with his crime scot-free?