Don't populate license keys if electronic delivery keys is zero.

This is checking for nil, but we need to also check that it's not zero,
otherwise we end up triggering callbacks for no reason.

[Finishes #78877168]