I wonder whether this would be a better test if it called `repo.unpack_repo` to create the directory instead.