Make logic in create_release.py more straightforward