pjrobertson/Quicksilver — comment on commit 9611e8dcc817dd84218c43a56b80c4e2fee42056
File: Quicksilver/PlugIns-Main/QSCorePlugIn/Code/QSActionProvider_EmbeddedProviders.m line 356
By pjrobertson:

Probably worth being more robust, maybe this is the way to go:

> If you need to further determine if path is a package, use the isFilePackageAtPath: method of NSWorkspace.

http://developer.apple.com/library/mac/#documentation/Cocoa/Reference/ApplicationKit/Classes/NSWorkspace_Class/Reference/Reference.html#//apple_ref/occ/instm/NSWorkspace/isFilePackageAtPath: