minor tweak to git hooks

- fix PREVIOUS_HEAD when run as git-merge
- catch fab css failure