append_repo: use Atom.with_repo()