The degree of harm caused is often a factor in measuring a crime, especially when it comes to sentencing. As Garry points out, 8 years for this is crazy.
Do you think it's plausible that 8 MB of source code, consisting of modified open-source libraries, represented a theft of critical Goldman Sachs secrets?
Without knowing how much of that 8Mb was proprietary and what the nature of the proprietary code is it's impossible to say. It could be massive over kill, it could be lenient.