Removed logging to the console when dir does not exists