LPS-52059 RepositoryException should be thrown if no repository can be found with the given repositoryId.