remove unused error from set_repository_options