Treat repository_id as id for singleton settings