Strip lines before split in stale submodule check