BUG in core/__cdist_object_run: each recursive call overwrites the variables!

--------------------------------------------------------------------------------

Bug with requirements when indirect requires is scheduled late:

__package/collectd: Generating local code 
__package/collectd: Generating remote code 
__package/collectd: Transferring object
__package/collectd: Checking code-local
__package/collectd: Checking code-remote
__file/etc/collectd/collectd.conf: Generating local code 
__file/etc/collectd/collectd.conf: Generating remote code 
__file/etc/collectd/collectd.conf: Transferring object
__file/etc/collectd/collectd.conf: Checking code-local
__file/etc/collectd/collectd.conf: Executing code-local
scp: /etc/collectd/collectd.conf: No such file or directory
__file/etc/collectd/collectd.conf: Error: /tmp/cdist.PYKFWmj9QknE/out/object/__file/etc/collectd/collectd.conf/.cdist/code-local exited non-zero
__file/etc/collectd/collectd.conf: Warning: Faulty code:
#
# The following code was generated by /home/users/nico/oeffentlich/rechner/projekte/cdist-nutzung/conf/type/__file/gencode-local
#

scp /home/users/nico/oeffentlich/rechner/projekte/cdist-nutzung/conf/type/__ethz_collectd/files/collectd.conf.client root@shrek08:/etc/collectd/collectd.conf
__file/etc/collectd/collectd.conf: Error: Aborting due to non-zero exit code.

--------------------------------------------------------------------------------

Bad error reporting in functions:

[15:15] ikn:cdist-nutzung% cdist-deploy-to ikn
core: cdist 1.8.0: Configuring ikn 
core: Creating clean directory structure 
core: Transferring cdist binaries/functions to the target host 
core: Running global explorers 
core: Running initial manifest for ikn 
core: Error: cdist-deploy-to: No arguments

