On the electronic spectrum in curved graphene nanoribbons