[GHC] #8251: Validate submodule references during pre-receive hook