Actually set ptbrepo