Good catch!  that was from previous attempts to fix the problem that i forgot to remove.  generate_repos is the correct place for it.   Removing..