Fix pull hooks to not pull empty changes.