Fix problem with error handler in puppetd

Change-Id: I67968754c7a91d0cb6d92cc9acd90e15ad344c82
Details: undefined method `any?' for "":String