fixed a globbing bug that only occurs on Mac OS when the pattern starts with #.  hooray for the existing test which caught this!