Accept 'submodule.*.fetchRecurseSubmodules' config 'on-demand' value

This fixes the error of issue #2018.