fix returning correct repository owner