Fix for old commits triggering git hooks on new branches from another branch

Merged James Lopez requested to merge fix/git-hooks-old-commits into master