Workaround to cleanup defunct git submodule directories.