Fixed a bug regarding setting work_dir for a local cluster.
Fixed a bug regarding setting work_dir for a local cluster.

Review: https://reviews.apache.org/r/32983

craimbert/mesos,Aman-Jain-14/customizedMesos,Aman-Jain-14/customizedMesos,asamerh4/mesos,reneploetz/mesos,zmalik/mesos,abudnik/mesos,asamerh4/mesos,abudnik/mesos,Gilbert88/mesos,neilconway/mesos,kaysoky/mesos,verizonlabs/mesos,craimbert/mesos,yuquanshan/customizedMesos,dforsyth/mesos,craimbert/mesos,gsantovena/mesos,abudnik/mesos,zmalik/mesos,Gilbert88/mesos,craimbert/mesos,andschwa/mesos,asamerh4/mesos,dforsyth/mesos,abudnik/mesos,Aman-Jain-14/customizedMesos,yuquanshan/customizedMesos,zmalik/mesos,andschwa/mesos,gsantovena/mesos,kaysoky/mesos,andschwa/mesos,yuquanshan/customizedMesos,chhsia0/mesos,yuquanshan/customizedMesos,verizonlabs/mesos,Gilbert88/mesos,Aman-Jain-14/customizedMesos,andschwa/mesos,Gilbert88/mesos,dforsyth/mesos,neilconway/mesos,kaysoky/mesos,jpeach/mesos,craimbert/mesos,kaysoky/mesos,verizonlabs/mesos,kaysoky/mesos,neilconway/mesos,asamerh4/mesos,jpeach/mesos,Aman-Jain-14/customizedMesos,Aman-Jain-14/customizedMesos,reneploetz/mesos,neilconway/mesos,gsantovena/mesos,Gilbert88/mesos,jpeach/mesos,zmalik/mesos,chhsia0/mesos,andschwa/mesos,chhsia0/mesos,abudnik/mesos,chhsia0/mesos,jpeach/mesos,verizonlabs/mesos,andschwa/mesos,dforsyth/mesos,Aman-Jain-14/customizedMesos,zmalik/mesos,neilconway/mesos,asamerh4/mesos,reneploetz/mesos,jpeach/mesos,reneploetz/mesos,andschwa/mesos,abudnik/mesos,chhsia0/mesos,chhsia0/mesos,gsantovena/mesos,Gilbert88/mesos,zmalik/mesos,kaysoky/mesos,zmalik/mesos,verizonlabs/mesos,verizonlabs/mesos,jpeach/mesos,yuquanshan/customizedMesos,abudnik/mesos,gsantovena/mesos,chhsia0/mesos,dforsyth/mesos,yuquanshan/customizedMesos,dforsyth/mesos,reneploetz/mesos,kaysoky/mesos,reneploetz/mesos,jpeach/mesos,asamerh4/mesos,craimbert/mesos,neilconway/mesos,Gilbert88/mesos,neilconway/mesos,craimbert/mesos,gsantovena/mesos,verizonlabs/mesos,asamerh4/mesos,yuquanshan/customizedMesos,dforsyth/mesos,reneploetz/mesos,gsantovena/mesos