Separated free and nonfree in repo_setup