Do not fall back on legacy repo if up to date
Digest can be NULL if the inplace repository does not have digest yet, workaround that