Fix checking submodule status