I think that is not necessary to inform the user about publishing package to the repository because this kind of logic can be hidden if the user is awaiting only the p5p file.
The error is signalized correctly.