Fix error on rendering submission of empty repository.