The first comment on the question you link to suggests
“a blessing in disguise,”
which made me think of a wolf in sheep’s clothing,
which refers to someone (or something) that initially appears benign,
but is ultimately revealed to be harmful.
I’m not sure how well this fits your use case,
but bait and switch seems to be related:
a selling method in which
a customer is attracted by the advertisement of a low-priced product
but then is encouraged to buy a more expensive one
i.e., something appears to be a bargain (a good deal),
but you end up getting a worse deal than you expected.