The repo working directory is where we put everything in the interim between creating the repo file tree and actually publishing it. If the package_dir is a subdirectory of that, then there's not an issue here. But we don't want to be writing to arbitrary directories on the filesystem.

Also, instead of a conditional here, we should probably just initialize the pacakge_dir to the repo.working_dir in the constructor, and then overwrite it as necessary.