puppet 3.7 complaines about 'Error: Failed to apply catalog: Parameter c...

puppet 3.7 complaines about 'Error: Failed to apply catalog: Parameter command failed on Exec[modulename-checkloaded]: Command must be a String, got value of class TrueClass'