Bug 964265: Ignore symlinks when detecting cart dirs in a gear