Detect projects when opening files through project directory symlinks.