Fix typo in platform.system() call.

In the error case, so easy to miss...