fe9bcd OSX build: Fix git repository detection when invoked from source tree

Authored and Committed by konstantin 11 years ago
    OSX build: Fix git repository detection when invoked from source tree