Fix variable name in unsupported-platform error case.

the rhs value distro is not defined yet, which causes an exception.