Fixed an error in data loading code, where a regex pattern for dir() produced an empty result, when 'prefix' is empty (i.e., SRDA case).