Get rid of a return statement in deprecation-check.py. Use an else condition instead.

Pretty dumb of me to not see that in the first place.