Fixed InitCommand::addVendorIgnore

`vendor` should be prefixed by a `/`.
If it's not, all vendor dirs will be excluded from git scm.
Here, we want to exclude only `/vendor/` dir.