
`os.path.exists()` will report False if the target of a symlink doesn't exist, so we can avoid a costly call to realpath here.
`os.path.exists()` will report False if the target of a symlink doesn't exist, so we can avoid a costly call to realpath here.