I'm still getting an error: ```fatal: '/path/to/iris' is outside repository``` when running the code from outside the repository. I know it's a corner case, but it appears to be related to my ```iris``` directory being a symlink. If you remove the REPO_DIR from the list of args, problem solved. I think this is fine as you're now setting the cwd to be REPO_DIR.