toDatasource should not throw an error when no schema is found