Per code review; throw an actual error if PUT failed to return a ref.