Improve performance on OS X

Finding git repositories can take a long time on OS X machines if
~/Library, ~/Movies, and the Trash are included in the search. This
patch removes those directories from the search on OS X only.