An infamous Wigan shoplifter has narrowly missed another trip to prison.