Read this explanation: I think it's the most accurate one out there. It implies that the cowboy is merely present in the series of dreams. Whether he knew Adam or not prior to meeting at the ranch is irrelevant because it's a dream.
http://www.geocities.com/mazzyboi/mulholland_drive_explanation.html