This is now done in LocalStore::addToStore(), rather than in the binary cache substituter (which no longer exists).