Fix gitignore to exclude vendor

* Build scripts install to ./vendor, after testing something locally via
  the officially supported method `git status` should still list a
  pristine repository.

Please backport to at least 2-3-stable.