Only run submodule update if project is git repo.

Change-Id: I2117d14f1bc5fdbc3ced27263f763045614fe73f
1 file changed