Allow to append if the grain doesn't exist.
Merge pull request #13633 from zeezooz/fix_grains.append

Allow to append if the grain doesn't exist.