Fix error message for add-platform