cleanup
added checks: non-master can only acces repo with the same name