Absolutely correct Gordon. Sadly didn't have time to offer an explanation similar to yours earlier.
Think people often associate the smell with thunder as because often petrichor is smelt following warm dry, weather, those first rains can often be accompanied by thunder in the breakdown.