This and the symlink call above could use some explanation as to the logic that's going on. I poked around and saw a comment on how the distribution publish could set package_dir, but I'm still not understanding the overall behavior of why that would influence where the DRPMs go. The two seem mutually exclusive without a deeper understanding of what is going on, which makes this stand out as being an if/else instead of always symlinking to repo.working_dir.