fix #41251: duplicate recents when using symlinks

Fixes problem by using absolutel rather than canonical name.  We should consider why we always call addRecentScore twice.  I guess the expectation was thet importedFilePath would be empty for native scores, but it currently is not.  #1564 addresses that.  I think having both of these in place probably makes sense.