A serial shoplifter who admitted carrying out his 200th theft has avoided being sent back to jail.