Fix discovery of AMD package configuration.