vim: Check that git directory exists before cding
vim: Check that git directory exists before cding

- When setting project directory, make sure git directory is not null
  before changing directories.
- This was a problem when in .git/ directories

jdlehman/dotfiles,jdlehman/dotfiles