[JENKINS-20407] Make sure dir exists before chmod

Ensures that the directory /var/run/jenkins exists before the installer
script attempts to chmod it.