Prevent deprecation warning using test with stdin
Prevent deprecation warning using test with stdin

Ensure options.path passed to parser is a list.

Otherwise users calling JJB using stdin or another file object will see
a warning about using a deprecated method.

Change-Id: Ibdef0a691a1ca2edc020b8c857e4d77618a000a5

wsoula/jenkins-job-builder,puppetlabs/jenkins-job-builder,OSSystems/jenkins-job-builder,wsoula/jenkins-job-builder,OSSystems/jenkins-job-builder,wikimedia/integration-jenkins-job-builder,wikimedia/integration-jenkins-job-builder,gforcada/jenkins-job-builder,wsoula/jenkins-job-builder,puppetlabs/jenkins-job-builder,wikimedia/integration-jenkins-job-builder,OSSystems/jenkins-job-builder,puppetlabs/jenkins-job-builder,wikimedia/integration-jenkins-job-builder,puppetlabs/jenkins-job-builder,OSSystems/jenkins-job-builder,wikimedia/integration-jenkins-job-builder,gforcada/jenkins-job-builder,gforcada/jenkins-job-builder,wsoula/jenkins-job-builder,gforcada/jenkins-job-builder,gforcada/jenkins-job-builder