Don't access repo object when it's not needed to not send ajax requests