Fix error message about missing platformName