Save repo owner type correctly