Port Issue #2209: DSC parameters should be passed even when there is no config data file

This is a port of #2209, a fix for a blocking bug for the `dsc_script` resource to 11-stable. @jdmundrawala, can you take a look?
Thanks @jdmundrawala , pushed a fix for the truncation.