Fixed a problem where a file could be later replaced by a directory (or reciprocally) in the optimization of port detection.
Fixed a problem where a file could be later replaced by a directory (or
reciprocally) in the optimization of port detection.

git-svn-id: 620571fa9b4bd0cbce9a0cf901e91ef896adbf27@13407 d073be05-634f-4543-b044-5fe20cf6d1d6

neverpanic/macports-base,macports/macports-base,danchr/macports-base,danchr/macports-base,neverpanic/macports-base,macports/macports-base