Backport git submodule warnings
This backports the new Source.validate_cache() method, along with the configurably fatal git submodule warnings.
This backports the new Source.validate_cache() method, along with the configurably fatal git submodule warnings.