fixes #5561 pass arguments correctly in run puppet over ssh