[Mirror] Fix wrong logic in GetCachedNameForPrimaryAccount