Fixed upgrade_1_to_2 upgrade step in case the registry doesn't contain the
named value