Accounting for missing refs in local repo