Makes sure git creates the shared/tests/src dir (#13081)

Change-Id: I767456d2978a8682adec6ef7b4c158cd5af23316