Use newRev for building on RefUpdated event

For modifications to the repository, use newRev, not FETCH_HEAD.