Use newRev for building on RefUpdated event

For modifications to the repository, use newRev, not FETCH_HEAD.
Merge pull request #184 from bpedersen2/refupdated

Use newRev for building on RefUpdated event