Use repository id instead of repo path when executing hooks