Remove the self-upgrade check.

Fixes #2089.