Is this check necessary? It would be cool to specify any platform here,
even if it's not in the list. If it's really invalid, presumably some later step
will fail, which is fine. And if it all succeeds, even better.