Ensure git repo is cloned into correct directory