Merge pull request #4161 from pks-t/pks/submodule-index-fix submodule: catch when submodule is not staged on update