hooks/pre-commit: Fix review issues

Rename checkTags to salsaflowCommitsDetected.

Change-Id: 9540ac3320
Story-Id: SF-89