Remove all references to an offline pack before the call to -removePackWithCompletionHander:.
Cherry-picked from d64b8ad25c.
Remove all references to an offline pack before the call to -removePackWithCompletionHander:.
Cherry-picked from d64b8ad25c.