A drug addict who flagged down his mum’s car and asked for a hug before robbing her has been jailed for more than five years.