Correct parsing of variants in the install command.