Detect if profile is set in the target container and add it when creating a fabric