"checkout-submodules" option of git plugin should be part of the cache key

We have started to use this option to disable checkout of submodules and elements are not being rebuild

This is bad because the artifacts are being pulled from the cache server so we do not actually know what will break in the future if they got rebuild and the submodule configuraiton is not correct