Don't write jenkins ssl chain file if no contents

Change-Id: I66e6046e911d43e505187c5c900fd796f406fb00