Reorder setup_repo and setup_pip_require