Git: keep rebase from running lots of ctags

During a big rebase, git hooks will run lots of ctags processes
which bog down the CPU and sometimes cause the rebase to abort
prematurely.

This patch creates a directory prior to running ctags the first time
and prevents git hooks from running ctags again until the first ctags
completes and removes the directory.