I respectfully disagree with the suggestion that this is immoral.
Sentry is granting you a license, for free, to do anything you want with the software except provide a commercial competitor to their hosted service. People using the software for free may still decide to contribute code. This is not a one-sided relationship here. Both parties are getting something of value.