.gitlab-ci: properly set cache dir and properly set git submodule strategy

2 jobs for master
in 3 minutes and 46 seconds and was queued for 4 seconds