Delete all non-submodule directory and prepare to add them back as
submodule.