setup-hooks: Create .git hooks directory if necessary

If for some reason the .git/hooks directory is removed or never created,
be sure to create the directory before trying to enter it.

Suggested-by: Michka Popoff <michkapopoff@gmail.com>
Merge branch 'setup'

Change-Id: I0dbc4911ff5fe9c5fce05aead98ea00ae4dc34a1