Move the logic to create the mode package groups into the AWS CodeBuild job instead of the SageMaker notebook.