Set the grains file in the proper place if found on the provided temporary configuration directory.

Refs saltstack/salt#5849
Refs saltstack/salt-cloud#672
Merge pull request #175 from s0undt3ch/develop

Set the grains file in the proper place if found