A man has been sentenced to three years in prison after pulling a fake gun on a London chicken shop worker during a dispute over condiments.