Similar to #26752, we should not call ConfigDataLocationResolver.resolveProfileSpecific if the source of the import is itself profile specific.