Neil Gray has had to apologise twice to MSPs after using government cars to attend football matches on hospitality tickets.