Improve readability of Change-Id hook function