Fix access to repo