skip the actual execution of the task when running in dry-run mode

This should fix ISSUE 64