Tweak deploy to handle vendor/ switching

This tweaks the deploy script so that it deletes the vendor/ and
vendor-local/ directories before doing a git checkout.

The theory is that landing this before we land the vendor/ overhaul
allows everything to work without manual intervention.

r?