Dave,
Thanks for catching this -- this was a genuine bug. Thanks also for the patch, but I have another one in the pipeline that'll conflict with yours (<http://cygwin.com/ml/cygwin-patches/2003-q3/msg00105.html>). How about I just resubmit that patch with your changes included?
Attached is a new patch, with an updated ChangeLog entry (well, two entries).
Thanks for fixing package_find(), too. I should've checked that myself.
I notice that package_list() prints a message in this case with the -v switch, but package_find() does not. My personal pref. is for the message, but I'll leave it to you to decide.
Dave