Fixed issue when loacl/backup directory does not exists.