Fix remove-platforms error message