[BACKLOG-194] Reverted RepositoryResource refactor. Refactor does not wo...

...rk and creates file not found errors.