handle typical case of git folder differing from target module folder