Fix getFolde when the folder does not exist