SCALRCORE-599 *Fix get os_version for amazon