I did not see the movie, but there are two possibilities and the answer depends on which one is the case.
1) The host opens one of two remaining doors at random. In this case your logic is correct – odds remain 50/50.
2) The host knows which door has a car behind it, and he intentionally opens the one which does NOT have a car. In this case it’s better to switch.