Gov. Andrew Cuomo was at the F.X. Matt Brewery in Utica Wednesday to sign legislation providing tax credits for small breweries, replacing an excise tax exemption struck down by a lawsuit.