Get a copy not a reference of the configuration value.
Also check the profile configuration. Fixes #744

When search for configuration keys on the VM's configuration or it's provider or the global config, don't forget that VM's profile configuration. When bootstrapping VMs using the profile this extra step is not necessary, though, when bootstrapping using maps, the map only holds the profile name, not it's data, making this extra step, fundamental.