module-tools & git clone : specify --depth only when necessary