Merge branch 'bc/submodule-foreach-stdin-fix-1.7.4' into maint