JENKINS-16426: back up only directorys in the job directory