Fix refs commit log and web hook.