Handle submodules update before calling git lfs pull
Initial description taken from !1297 (closed):
Changes ordering of submodules handling and git lfs pull
execution.
Resons:
- Cleanup for !1298 (merged), which fixed the regression in 11.9.x
- Additionally current implementation that we have contains another bug - calling submodules without checking out the main repository will most probably generate a failure.
Reordering the calls for submodules update and git lfs pull
should fix both problems.