Add __main__ for testing on server as it looks like all requests to pypi fail there