checkout: Fix submodule_is_config_only's return value
Merge pull request #2237 from mekishizufu/fix_return_value

Fix submodule_is_config_only's return value