What ur saying is right to a certain extent.........
But what is important is that, China is already hostile with India. They have a long term gameplan of cornering India geographically on both sides.
Also, we by ourselves can never match the might of China. Nuclear energy gives us a chance to match China to a certain extent and hence this deal is important. i.e. we require the US as much as they require us.