Check for broken links when updating linkfiles
Check for broken links when updating linkfiles

If a linkfile is a broken link (destination does not exist), and it
needs to be updated, we didn't notice that it needed to be removed
first. Use lexists instead of exists to check for this condition.

Change-Id: I1f6a1f0193d3fd2b9f7a647836044997f6ab32eb

codetutil/git-repo,lewixliu/git-repo,lipro-yocto/git-repo,qioixiy/git-repo,GerritCodeReview/git-repo,TheQtCompany/git-repo,testbetta/git-repo-pub,zemug/repo,slfyusufu/repo,testbetta/repo-pub,qioixiy/git-repo,lewixliu/git-repo,testbetta/repo-pub,GerritCodeReview/git-repo,testbetta/git-repo-pub,nuclearmistake/repo,gabbayo/git-repo,couchbasedeps/git-repo,chenzilin/git-repo,chzhong/git-repo,dodocat/git-repo,aosp-mirror/tools_repo,chenzilin/git-repo,11NJ/git-repo,mer-tools/git-repo,TheQtCompany/git-repo,FlymeOS/repo,FlymeOS/repo,aosp-mirror/tools_repo,frogbywyplay/git-repo,chzhong/git-repo,wavecomp/git-repo,11NJ/git-repo,slfyusufu/repo,dodocat/git-repo,gabbayo/git-repo,frogbywyplay/git-repo,couchbasedeps/git-repo,wavecomp/git-repo,jingyu/git-repo,jingyu/git-repo,mer-tools/git-repo,lipro-yocto/git-repo,zemug/repo,codetutil/git-repo,nuclearmistake/repo