CLOUDIFY-2631 now checking to see if a file exists in place of the log dir