An armed robber who once raided a bookmarkers at gunpoint risked a return to prison – after failing to pay for snacks he tucked into at Aldi.