Check for refs/ not refs/heads/ when updating a ref

Change-Id: I19f9507fdb859902a6df96f1960433a91378e400
1 file changed