Kill invalid submodule directory before update