[BACKLOG-194] Reverted RepositoryResource refactor. Refactor does not work and creates file not found errors.