Fix syntax_check script so it doesn't try and read git submodules