Fixed issue when Prepro directory is deleted.