With the commas separating out that particular phrase, it renders the phrase a descriptor of the verb phrase as a whole, not just the word that precedes it. It makes it read that "containing…" describes "I would be alarmed. I agree with the second sentence you wrote, though.