Fixed the directory git checkout is run from.