Disable tests for Git dependencies when possible.

Cf. jrl-umi3218/jrl-cmakemodules#44