fixed issue with non-existing submodules getting indexed