Fix a problem when the data and logs folders where not created (not pulled from github)