Add logic to disable profile types for certain repository types.