Make grt work when inside .git dirs