fix so doesn't break when in non git dirs