Fix bug DNN-3649: use GetFolder to retreive folder info.