Fixed error on platform name in platform_spec for --platform option