Accomodating both absolute and relative paths from --git-dir