Extract headers

Restore --pkgconfigpath option as it is useful when extract-headers.sh is used outside a libhybris source tree
Make git and repo optional as the information extracted is not required