removed some code from directives, removed repo exist check from repository page