Check DataProvider error

Convert the odd error message in DataProvider when environment is
missing in dimensions file.