fetch: verify we have everything we need before updating our ref