Fix for detecting a SA as symbolic link to a directory.