Fix custom_group processing
Created by: Zaharid
Because we use if instead of elif, the code would search for the custom_group key in the runcard.
Created by: Zaharid
Because we use if instead of elif, the code would search for the custom_group key in the runcard.