I've actually never made it with shallots. I use whatever onions I have -- I always have onions in the house. The great thing about peasant food is you can use what you have. That's what they did.
But, then again, I treat recipes as a basic framework, and do whatever I feel like doing that particular day. Usually works... usually.