Fix access check for a repo.