MT#6693 Fix extension creation without profile set