Improve error messages.

- Show only the error messages for standard repo (staging projects)

- Cache error messages to show only one instance