fix return code detection of create_project.py