A homeless Wigan shoplifter who persistently targeted shops and retailers has been sent to prison.